﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Device.Location;

namespace FinApp.ViewModels {
    public class CommerceItemViewModel : ViewModels.Base.ViewModelBase {

        #region Members
        private string commerceId;
        private string commerceName;
        private string commerceAddres;
        private GeoCoordinate commerceGeoCoordinate;

        #endregion

        #region Properties
        /// <summary>
        /// Identificador del Comercio
        /// </summary>
        public string CommerceId {
            get { return commerceId; }
            set { commerceId = value; }
        }
        /// <summary>
        /// Nombre del Comercio
        /// </summary>
        public string CommerceName {
            get { return commerceName; }
            set { 
                commerceName = value;
                this.NotifyPropertyChanged("CommerceName");
            }
        }

        /// <summary>
        /// Dirección del comercio
        /// </summary>
        public string CommerceAddres {
            get { return commerceAddres; }
            set { 
                commerceAddres = value;
                this.NotifyPropertyChanged("CommerceAddres");
            }
        }

        public GeoCoordinate CommerceGeoCoordinate {
            get { return commerceGeoCoordinate; }
            set { 
                commerceGeoCoordinate = value;
                this.NotifyPropertyChanged("CommerceGeoCoordinate");
            }
        }
        #endregion

        public override void LoadData() {
            throw new NotImplementedException();
        }
    }
}
